// Decompiled by DJ v2.9.9.60 Copyright 2000 Atanas Neshkov  Date: 2010-5-13 14:13:41
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   UsersRolesDao.java

package com.stnet.dao.enterprice.system;

import java.util.List;

import com.modules.commons.Pager;
import com.stnet.entity.UsersRoles;

public interface UsersRolesDao
{

    public abstract UsersRoles get(Long long1);

    public abstract void save(UsersRoles usersroles);

    public abstract void update(UsersRoles usersroles);

    public abstract void delete(UsersRoles usersroles);

    public abstract void delete(Long long1);

    public abstract List findAll();

    public abstract Pager getObjectListByClass(int i, int j, Class class1, String s);

    public abstract List getLinksAndAdByClassAndSize(Class class1, Long long1);

    public abstract List findByUsersId(Long long1);

    public abstract List findByRolesId(Long long1);
    
    public abstract  void deleteUsersRoleByUserId(Long userId);
    
    public boolean isGoldByUserIdandRoleId(Long userId, Long roleId);
}